package com.dgz.csmall.product.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @Author duguozheng
 * @Date 2023/05/09  10:15
 * @Description Album-相册实体类，与数据库中pms_album表对应
 * @Version 1.0
 */
@Data
@Accessors(chain = true)
@TableName("pms_album")
public class Album implements Serializable {

    @TableId(type = IdType.AUTO)
    private Long id;
    private String name;
    private String description;
    private Integer sort;
    private LocalDateTime gmtCreate;
    private LocalDateTime gmtModified;

}
